¬
Jim Million    uunet!wiltel!jmillion    October 1992    				              

RemoteCompose.app (v1.0)

This example demonstrates how to remotely open and manage 'Compose' windows in Mail.app, using the custom Speaker subclass MailSpeaker.
¬

Important Files...

¬ RemoteComposeController.[hm]  contains one method (suggestion: ) showing how an instance of MailSpeaker may be used.

¬ MailSpeaker.[hm]  is a custom Speaker subclass that supports remote messages implemented in Mail.apps custom Listener subclass MailListener.

¬ Mail.msg  is the file passed to the Unix 'msgwrap' utility.  msgwrap in turn, generates MailSpeaker.[hm] and MailListener.[hm] (not used).

Notes...

¬ Using Speaker/Listener to accomplish IP communications seems archaic in a NeXTstep
3.0 (RemoteObject) world.  I have been unable to find any documentation listing objects publicly 'vended' by NeXT apps (if there are any). 

¬ It is possible to include file attachments in the document by using NXPerformService() with "Mail/Document" as the service.

¬ Put it on a palette (this has been done and will be submitted).
¬